package org.cyz.tools.common.dto;

/**
 * @author abccy
 * @title: ApplicationInfoDTO
 * @projectName RedisGUI
 * @description: TODO
 * @date 2020-9-1516:37
 */
public class ApplicationInfoDTO {
    //groupId=org.cyz.tools
    //artifactId=RedisGUI
    //version=v0.2-SNAPSHOT
    private String artifactId;
    private String groupId;
    private String version;
    private String url;

    public ApplicationInfoDTO() {
    }

    public ApplicationInfoDTO(String artifactId, String groupId, String version) {
        this.artifactId = artifactId;
        this.groupId = groupId;
        this.version = version;
    }

    public ApplicationInfoDTO(String artifactId, String groupId, String version, String url) {
        this.artifactId = artifactId;
        this.groupId = groupId;
        this.version = version;
        this.url = url;
    }

    public String getArtifactId() {
        return artifactId;
    }

    public void setArtifactId(String artifactId) {
        this.artifactId = artifactId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "ApplicationInfoDTO{" +
                "artifactId='" + artifactId + '\'' +
                ", groupId='" + groupId + '\'' +
                ", version='" + version + '\'' +
                ", url='" + url + '\'' +
                '}';
    }
}
